<template>
  <el-table
    :data="data"
    border
    :header-cell-style="{'text-align':'center'}"
    :cell-style="{'text-align':'center'}"
    style="width: 100%;margin-top: 20px">
    <el-table-column
      prop="user_name"
      label="使用人"
      width="180">
    </el-table-column>
    <el-table-column
      prop="quantity"
      label="数量"
      width="180">
    </el-table-column>
    <el-table-column
      prop="wo_number"
      label="工单编号">
    </el-table-column>
    <el-table-column
      prop="customer_name"
      label="客户">
    </el-table-column>
    <el-table-column
      prop="address"
      label="仓库">
    </el-table-column>
    <el-table-column
      prop="create_time"
      label="时间">
    </el-table-column>
  </el-table>

</template>

<script>
export default {
  props: {
    data: {
      type: Array,
      default: () => [],
    }
  },
  name: "record",
  data() {
    return {
    }
  }
}
</script>

<style scoped>

</style>
